--
-- Author: ping.wang
-- Date: 2019-02-28 18:41:41
--
-- PvpDuelBookView
--

local fileName = string.getModeName(...)
local ClassRef = class(fileName, app.mvc.ViewBase)

ClassRef.VIEW_ROOT_RES = Res.PvpDuelBookScene

function ClassRef:init()
    self._ui.Button_close:addClickEventListener(function()
        executeFunc(self._onCloseView)
    end)

    local awardBtn = self._ui.Panel_right:findChild("Button")
    awardBtn:addClickEventListener(function()
        executeFunc(self._onOperate, "openRankAwardView",{playId = 1201})
    end)
end

return ClassRef
